API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Meshes
MeshManager.h
1
// MeshManager.h
3
//
5
6
namespace
nkGraphics
7
{
13
class
DLL_GRAPHICS_EXPORT
MeshManager
final :
public
nkCommon::SingletonClass<MeshManager>
14
{
15
public :
16
20
~MeshManager
() ;
21
28
Mesh
*
createOrRetrieve
(
const
std::string_view& name) ;
35
Mesh
*
get
(
const
std::string_view& name)
const
;
44
Mesh
*
getByIndex
(
unsigned
int
index)
const
;
51
void
rename
(
const
std::string_view& currentName,
const
std::string_view& newName) ;
57
void
erase
(
const
std::string_view& name) ;
58
} ;
59
}
nkGraphics::MeshManager::getByIndex
Mesh * getByIndex(unsigned int index) const
nkGraphics::MeshManager::~MeshManager
~MeshManager()
nkGraphics::MeshManager::get
Mesh * get(const std::string_view &name) const
nkGraphics::MeshManager::erase
void erase(const std::string_view &name)
nkGraphics::MeshManager
Manages the meshes available in the component.
Definition:
MeshManager.h:14
nkGraphics::MeshManager::rename
void rename(const std::string_view ¤tName, const std::string_view &newName)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
nkGraphics::Mesh
Holds information about a mesh. Used as a basis to render 3d models.
Definition:
Mesh.h:15
nkGraphics::MeshManager::createOrRetrieve
Mesh * createOrRetrieve(const std::string_view &name)
Generated by
Doxygen
1.8.18